<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%request.setCharacterEncoding("UTF-8"); %>
<%

String []info=request.getParameterValues("newspaper");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册信息</title>
</head>
<body>

	<h1 style="text-align: center; font-size: 20px">您输入的注册信息如下</h1>
	<div class="regist" style="text-align: center;">
<% String  loginID=request.getParameter("name");
   String  pwd=request.getParameter("password");
%>
		姓 名：     <%=loginID %><br>
		<br> 密码：       <%=pwd %><br>
		<br> 信息来源:
	<%
	if(info.toString()==null){
		out.print("未选");
	}
	else{
		for(String fos:info)
	
			{
		      out.print(fos  +  " ");
	        } 
		
	}
		session.setAttribute("users", loginID);		
        session.setAttribute("pws", pwd);
	%>	
<a href="Login.jsp">登录</a>		
	
	</div>
</body>
</html>